import { http } from '@/utils/http'

export const customerTable = (data) => {
  return http({
    url: `/api/raw-material/pick-requirements/todo?sort=createTime,desc`,
    method: 'get',
    data
  })
}
//领料查询table列表接口
export function searchlist(data) {
  return http({
    url: "/api/raw-material/pick-requirements/page?sort=createTime,desc",
    method: "get",
    data
  });
}

//领料下单中提交接口
export function materialRequisitionSumit(data) {
  return http({
    url: `/api/raw-material/pick-requirements/workflow/submit/batch`,
    method: "post",
    data
  });
}
